
/**
 * copyright(c) 2013 www.jiongshibaoliao.com, All Rights Reserved.
 * project: jiongshibaoliao 
 * author: 曾帅
 * date: 2014-1-9 下午05:14:42
 * version: v1.0
 */

package com.jiongshibaoliao.service;

import java.util.Map;

import com.jiongshibaoliao.common.mybatis.Page;
import com.jiongshibaoliao.common.mybatis.PageBean;
import com.jiongshibaoliao.exception.JiongException;
import com.jiongshibaoliao.model.Article;
import com.jiongshibaoliao.model.enums.Audit;

/**
 * @project jiongshibaoliao
 * @author 曾帅 
 * @version 1.0
 * @date 2014-1-9 下午05:14:42   
 */

public interface ArticleService extends BaseService {
	
	public Page getHotArticlePageList(PageBean pageBean);
	
	public Page getMostArticlePageList(PageBean pageBean);
	
	public Page getRealArticlePageList(PageBean pageBean);
	
	public Page getArticlePageListByUserId(PageBean pageBean, long userId);
	
	public Article getUNAuditRandom(String clientIp, Long userId);
	
	public void auditArticle(long id, Audit audit) throws JiongException;
	
	public Map<String, Object> getAuditArticleRandom();
	
	public Map<String, Object> getPackageArticleById(long id);
}
